<?php
header('Content-Type:text/html; Charset=UTF-8');
require 'lib/checker.php';
require 'lib/header.php';
?>
		<div class="container">
            <div class="row">
                <div class="col-xs-2">
                    <a href="dishTypeList.php" class="btn btn-primary btn-lg btn-block">菜品类型列表</a>
                    <a href="main.php" class="btn btn-primary btn-lg btn-block">返回首页</a>
                </div>
	            <div class="col-xs-5">
	                <div class="row">
                        <div class="panel panel-primary">
                            <div class="panel-heading">
                                <div class="panel-title">
                                    <span class="glyphicon glyphicon-plus"></span> 添加菜品类型<span class="col-md-offset-8"></span>
                                </div>
                            </div>
                            <form action="insertType.php" method="post">
	                            <div class="panel-body">
	                                <div class="form-horizontal">
									  <div class="form-group">
                                                <label class="col-xs-3 control-label">类型名称：</label>
                                                <div class="col-xs-7">
                                                    <input class="form-control" name="type" placeholder="类型名称" />
                                                </div>
                                            </div>
									</div>
	                            </div>
	                            <div class="panel-footer">
					      			<button type="submit" class="btn btn-primary btn-lg btn-block">添加此类型</button>
					      		</div>
				      		</form>
	                    </div>
	                </div>
	            </div>
            </div>
        </div>
   </body>
</html>